package com.edu.ocrdemo.entity;

import com.edu.ocrdemo.common.TaskStatus;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author tfan
 * @Description
 * @Date 2024/12/31 17:15
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Task {
    private String taskId;
    private TaskStatus status; // 状态：PENDING、PROCESSING、COMPLETED、FAILED
    private String result; // 处理结果
    private LocalDateTime createdTime;
    private LocalDateTime endTime;
}